package com.chengliang.bbs.service.impl;

import com.chengliang.bbs.mapper.ExperienceMapper;
import com.chengliang.bbs.service.ExperienceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: chengliang
 * @create: 2019-08-25 01:40
 */
@Service
public class ExperienceServiceImpl implements ExperienceService {

    @Autowired
    private ExperienceMapper experienceMapper;

    @Override
    public boolean checkExperienceEnough(Integer userId, Integer experience) {
        return experienceMapper.checkExperienceEnough(userId, experience);
    }

}
